<template>
    <basic-container>
        <div class="form_box">
            <avue-form :option="option">
            </avue-form>
        </div>
    </basic-container>
</template>
<script setup>
import Editor from '@/components/Editor/index.vue';
const option = reactive({
    labelWidth: 170,
    size: 'medium',
    column: [
        {
            label: '订单默认审核时间(分钟)',
            prop: 'input',
            span: 12,
            type: 'number',
            controlsPosition: 'top',
        },
        {
            label: '默认用户头像',
            prop: 'input1',
            listType: 'picture-card',
            type: 'upload',
            limit: 1,
            propsHttp: {
                res: 'data'
            },
            tip: '只能上传一张图片',
            action: 'https://api.avuejs.com/imgupload',
            span: 24,

        },
        {
            label: '首页邀请图片',
            prop: 'input11',
            listType: 'picture-card',
            type: 'upload',
            limit: 1,
            tip: '只能上传一张图片',
            propsHttp: {
                res: 'data'
            },
            action: 'https://api.avuejs.com/imgupload',
            span: 24,

        },
        {
            label: '首页视频链接',
            prop: 'input2',
            span: 24,
            prefixIcon: 'el-icon-plus',

        },
        {
            label: '一个Ip可注册账户数量',
            prop: 'input3',
            span: 24,
            prefixIcon: 'el-icon-plus',

        },
        {
            label: '默认区号',
            prop: 'input4',
            span: 24,
            prefixIcon: 'el-icon-plus',

        },
        {
            label: '客服地址(Telegram)',
            prop: 'input5',
            span: 24,
            prefixIcon: 'el-icon-plus',

        },
        {
            label: '客服地址(Whatsapp)',
            prop: 'input6',
            span: 24,
            prefixIcon: 'el-icon-plus',

        },
        {
            label: '客服说明',
            prop: 'input7',
            type: 'textarea',
            span: 24,

        },
        {
            label: 'App下载地址',
            prop: 'input8',
            span: 24,
            prefixIcon: 'el-icon-plus',

        },
        {
            label: '首页弹窗公告',
            prop: 'input9',
            span: 24,
            component: Editor,
        },
        {
            label: '抽奖描述',
            prop: 'input10',
            type: 'textarea',
            span: 24,

        },
    ]
})
</script>
<style scoped lang="scss">
.form_box {
    width: 100%;
    padding: 20px 200px;
    height: calc(100vh - 120px);
    overflow-y: auto;
}
</style>